home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / Documents / NeXTAnswers / hardware.767 < prev    next >
Text File  |  1992-02-06  |  2KB  |  40 lines

  1. {\rtf0\ansi{\fonttbl\f0\fnil Times-Roman;\f1\fmodern Courier;\f2\fswiss Helvetica;}
  2. \paperw11440
  3. \paperh9000
  4. \margl120
  5. \margr120
  6. {\colortbl\red0\green0\blue0;}
  7. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b0\i0\ul0\fs28 PROM NBIC interrupt mask register timeout exception\
  8. \
  9. Q:  I am using the PROM monitor for initial start up of the NeXTbus board I'm developing.  I need to write to the NBIC interrupt mask register.  Every time I try to, the screen clears and the following message appears:\
  10. \
  11.  
  12. \f1\fs24     Exception #2 (0x8) at 0x314\
  13.     NeXT>\
  14.  
  15. \f0\fs28 \
  16. I'm certain that I'm actually accessing my board; I have followed the instructions in the NeXTanswer on accessing bus addresses from the ROM monitor.    \
  17. \
  18. I have the same problem reading these registers on the NBIC on my CPU board.\
  19. \
  20. The interrupt mask register is one byte wide, and I am reading and writing it as a byte.  What am I doing wrong?\
  21. \
  22. \
  23. A:  As soon as you press Return to read or write a location from the monitor, it automatically advances to the next location.  Neither the byte location following the NBIC's interrupt mask, nor the one following the interrupt register, are valid addresses.  When the monitor tries to read them, the access times out. \
  24. \
  25. You can read these registers, and write the interrupt mask register, as a long word.  The register itself appears as the most significant byte (lowest address—addressing is big endian) of the data.   \
  26.  
  27. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\fc0 \
  28.  
  29. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520 If your system will boot, you can also read these registers from BusProbe.  Set the Address Auto-Increment check box to off,  so the program doesn't try to read the next address after the one you're looking at.  You should have no trouble reading these registers as bytes.  You can also access them as long words, with or without Address Auto-Increment set.\
  30. \
  31. Note that the only bit you can actually clear or set in the interrupt mask register is the most significant bit, bit 7.\
  32. \
  33. \
  34. QA767\
  35.     \
  36. Valid for 1.0\
  37. Valid for 2.0\
  38. \
  39.  
  40.